package com.huarui.part.dao;

import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.IBaseDao;

import com.huarui.part.model.MeasurementUnit;

public interface IUnitDao extends IBaseDao{
	/**
	 * 得到所有计量单位信息
	 * @return
	 */
	public  List<MeasurementUnit> getAllUnits();
	
	public  List<MeasurementUnit> getAllUnitsExt();
	
	public MeasurementUnit getByName(String name);
	
	/**
	 * 后台查询总数量
	 * @param paramsMap
	 * @return
	 */
	public Integer getMeasurementUnitListCountByComplex(Map<String, Object> paramsMap);
	
	/**
	 * 后台查询
	 * @param paramsMap
	 * @return
	 */
	public List<Map<String, Object>> getMeasurementUnitListByComplex(Map<String, Object> paramsMap);

}
